package routers

import (
	"LogServer/controllers"
	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/log/upload", &controllers.ClassLogController{}, "*:Upload")
	//beego.Router("/classroom/getTeachingInfo", &controllers.ClassLogController{},"*:GetTeachingInfo")
	beego.Router("/log/getclassscore", &controllers.ClassLogController{}, "*:GetClassScore")
	beego.Router("/log/getTeachingInfo", &controllers.ClassLogController{}, "*:GetTeachingInfo")
	beego.Router("/log/test", &controllers.ClassLogController{}, "*:Test")
	beego.Router("/log/getTimeTeachers", &controllers.ClassLogController{}, "*:GetTimeTeachers")
	beego.Router("/log/classroom/getTeachingRate", &controllers.ClassLogController{}, "*:GetTeachingRate")

	beego.Router("/log/classroom/getTeacherData", &controllers.ClassLogController{}, "*:GetTeacherData")
}